a11y: Make submenu code handle non-existing submenus
authorBenjamin Otte <otte@redhat.com>
Wed, 6 Jul 2011 18:55:11 +0000 (20:55 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 6 Jul 2011 18:55:11 +0000 (20:55 +0200)
commit15ab20fdfb5b148e0626d3f81cd22210951b724e
treea8565b4348ab1860dbd0f4256fc6e44338e6373d
parentd5dad3422bb70cca6124497fc31e09d3b7b98287
a11y: Make submenu code handle non-existing submenus

As we're going to merge the two accessibles for submenus, we need to
make sure the code that insisted on submenus can handle the case where
no submenu exists.
gtk/a11y/gtksubmenuitemaccessible.c